package com.truyen.persistence.dao;

import java.util.List;

import com.truyen.persistence.dao.base.GenericJpaBaseDao;
import com.truyen.persistence.entity.TacGia;
import com.truyen.persistence.entity.TruyenTinhCam;
import com.truyen.utils.PagingInfo;

public interface TruyenTinhCamDao extends GenericJpaBaseDao<TruyenTinhCam, Long> {

	List<TruyenTinhCam> getLstComicLinkImageNullBlogTruyen(int sourceBy);

	List<TruyenTinhCam> getAllLst(String kwSearch, String sort, String sortBy, PagingInfo pInfo);

	List<TruyenTinhCam> getListTruyenBy(String orderByColumn, int begin, int max);

	List<TruyenTinhCam> getListTruyenRandomBy(int maxLimit);

	List<Object> getObjectByNameUnsigned(String kwSearch, int max, String typeSearch);

	List<TruyenTinhCam> getLstByPropertyWithPaging(String column, String value, String sortBy, PagingInfo pInfo);

	List<TruyenTinhCam> getLstTruyenBySourceBy(int sourceBy);

	List<TruyenTinhCam> getLstByProperty(String column, Object value, int begin, int max);

	List<TruyenTinhCam> getLstByPropertyWithOrderByPaging(String orderBy, PagingInfo pInfo);

	List<TruyenTinhCam> getLstByTacGiaWithPaging(TacGia tacGia, String orderBy, PagingInfo pInfo);

	List<TruyenTinhCam> getLstByTacGiaLimit(TacGia tacGia, int begin, int maxLimit);

}
